package com.young.customer.controller;

import com.young.customer.service.OperBalanceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * @auter miaozhenfei
 * @date 2019/9/7 2:01
 */
@RestController
@RequestMapping("/customerBalance")
public class OperBalanceController {

    @Autowired
    private OperBalanceService operBalanceService;

    @PostMapping("/queryBalanceLogByCid")
    public String queryBalanceLogByCid(Map mapParams){

      return   operBalanceService.queryBalanceLogByCid(mapParams);
    }
}
